<%@page import="com.railway.news.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<html>
<head> 
	<link type="text/css" rel="stylesheet" href="${ctx}/css/themes/default/easyui.css">
	<link type="text/css" rel="stylesheet" href="${ctx}/css/themes/icon.css">
	<script type="text/javascript" src="${ctx}/scripts/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="${ctx}/scripts/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${ctx}/scripts/locale/easyui-lang-zh_CN.js"></script>
	<title><%=MenuColums.TABLE_ALIAS%>编辑</title> 
</head>
<body>
	<form id="form1" action="${ctx}/admin/Menu/update.do" method="post">
		<input type="submit" value="提交"  />
		<input type="button" value="返回列表" onclick="window.location='${ctx}/admin/Menu/list.do'"/>
		<input type="button" value="后退" onclick="history.back();"/>
		
		<table class="formTable">
			<input type="hidden" id="id" name="id" value="${model.id}"/>
		
		<!-- ONGL access static field: @package.class@field or @vs@field -->
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_PAREN_ID%>:
				</td>	
				<td>
				<input id="parenId" name="parenId" value="${model.parenId}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_NAMES%>:
				</td>	
				<td>
				<input id="names" name="names" value="${model.names}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_URLS%>:
				</td>	
				<td>
				<input id="urls" name="urls" value="${model.urls}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_LOCATIONS%>:
				</td>	
				<td>
				<input id="locations" name="locations" value="${model.locations}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_PRIORS%>:
				</td>	
				<td>
				<input id="priors" name="priors" value="${model.priors}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_CREATE_TIME%>:
				</td>	
				<td>
				<input value="${model.createTimeString}" id="createTimeString" name="createTimeString"  
				type="text" class="easyui-datebox"   />
				</td>
			</tr>
			
			
			<tr>	
				<td class="tdLabel">
					<%=MenuColums.ALIAS_CREATOR%>:
				</td>	
				<td>
				<input id="creator" name="creator" value="${model.creator}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>
		</table>
	</form>

</body>
<script>
//begin $(document).ready(handler)
$(function(){
$('#form1').submit(function(){
	return $('#form1').form('validate');
});}
)//end $(document).ready(handler)
</script>
</html>